package xyz.xtt.asset.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Schema(name = "赠送", description = "赠送")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GiftRequest {
	private Long to;
	@Min(value = 1, message = "最少1个")
	@NotNull(message = "请提供数量")
	private Integer amount;
	@Schema(description = "资产id")
	private Long asssetId;
}
